/**
 * 
 */
package com.admin.his.common.dto;

/**
 * @author 张三
 *
 */
public class UserContextHolder {
	private static final ThreadLocal<UserContext> USERCONTEXT_HOLDER=new ThreadLocal<UserContext>();
	
	public static void hold(UserContext context) {
		USERCONTEXT_HOLDER.set(context);
	}
	
	public static UserContext get() {
		return USERCONTEXT_HOLDER.get();
	}
}
